mod addr;
mod api;
mod config;
mod context;
mod json_helper;
mod log;
mod server;
mod static_files;
mod api_error;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    const VERSION: &str = env!("CARGO_PKG_VERSION");
    server::start(api::api, VERSION).await?;
    Ok(())
}
